package com.hospital.hms.dao.mapper;

import com.hospital.hms.pojo.Doctor;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Mapper
public interface DoctorDao {
    ArrayList<HashMap<String,Object>> selectConditionByPage(Map map);
    long selectConditionByPageCount(Map map);
    HashMap<String,Object> selectDoctorDetailById(int id);
    void insert(Doctor entity);
    //上传图片
    void updatePicture(Map map);
    HashMap selectById(int id);
    ArrayList<HashMap> selectDoctorBySubId(int subId);
}
